package com.huyanqi.front.rest.resource;

import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.FormParam;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

import com.huyanqi.front.rest.resp.ShareListResp;
import com.huyanqi.front.rest.resp.ShareSimpleResp;


public interface ShareListResource {
	
	/* 根据套餐类型找店铺 */
	@Path("/findLatestShare")
	@POST
	ShareListResp findLatestShare(@FormParam("pageSize") Integer pageSize,@FormParam("pageNum") Integer pageNum);
	
	/*根据用户ID查该用户最近的签到记录*/
	@Path("/findMyShare")
	@POST
	ShareListResp findMyShare(@FormParam("uid") Long uid);
	
	@Path("/toShare")
	@POST
	ShareSimpleResp toShare(HttpServletRequest request);
	
}
